const express = require('express')
const app = express()
app.get('/list', (request, response) => {
    const {
        callback = Function.prototype
    } = request.query
    const data = {
        code: 0,
        message: 'iverson'
    }
    response.send(`${callback}(${JSON.stringify(data)})`)
})

app.listen(8001, () => {
    console.log('8001端口号已经启动')
})
1